package model

import (
	"time"
)

type AuPayLog struct {
	PayId       int       `xorm:"not null pk autoincr INT(10)"`
	EmpId       int       `xorm:"not null index INT(10)"`
	CarId       int       `xorm:"not null unique(car_id_order_id_pay_type) INT(11)"`
	OrderId     int       `xorm:"not null unique(car_id_order_id_pay_type) index INT(10)"`
	Amount      float64   `xorm:"not null DOUBLE(10,2)"`
	PayType     int       `xorm:"not null unique(car_id_order_id_pay_type) SMALLINT(3)"`
	Status      int       `xorm:"not null default 0 TINYINT(1)"`
	Remark      string    `xorm:"TEXT"`
	Fid         int       `xorm:"default 0 INT(10)"`
	BankAccount string    `xorm:"TEXT"`
	Createtime  time.Time `xorm:"not null DATETIME"`
	LastUpdate  time.Time `xorm:"not null default '0000-00-00 00:00:00' TIMESTAMP"`
}
